]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Create the primary background in a not critical location
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 20 Aug 2013 22:29:02 +0000 (18:29 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 21 Aug 2013 20:53:04 +0000 (16:53 -0400)
The startup animation should be as minimal as possible to prevent
hangups.

js/ui/layout.js

index 6df7cb6b9dc886777028502bb4a4f28265f7d260..7176d5237df7127fe57e453d58a07ff199a72b2b 100644 (file)
@@ -600,6 +600,8 @@ const LayoutManager = new Lang.Class({
         if (Main.sessionMode.isGreeter) {
             this.panelBox.translation_y = -this.panelBox.height;
         } else {
+            this._createPrimaryBackground();
+
             // We need to force an update of the regions now before we scale
             // the UI group to get the coorect allocation for the struts.
             this._updateRegions();
@@ -649,7 +651,6 @@ const LayoutManager = new Lang.Class({
     },
 
     _startupAnimationSession: function() {
-        this._createPrimaryBackground();
         Tweener.addTween(this.uiGroup,
                          { scale_x: 1,
                            scale_y: 1,